-- GENERATED SPELL FOR [Floyd Pinkus] --


function spell0_16602(pUnit, Event) --@Shadow Burst,n/a--
pUnit:FullCastSpellOnTarget(28447,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16602', 562, 1)
end

function Sorts_16602(pUnit, Event)
local choix_sorts_16602 = math.random(0, 0)
if choix_sorts_16602 == 0 then
pUnit:RegisterEvent('spell0_16602', 1, 1)
end
end

function mob16602_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16602', math.random(1500, 3000), 1)
end

function mob16602_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16602_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16602_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16602, 1, 'mob16602_Action')
RegisterUnitEvent(16602, 2, 'mob16602_Leave')
RegisterUnitEvent(16602, 3, 'mob16602_Kill')
RegisterUnitEvent(16602, 4, 'mob16602_Die')
